import Vue from 'vue'
import App from './App.vue'
import _ from 'lodash'

Vue.use({
	install(Vue) {
		Vue.prototype.$debounce = _.debounce
	}
})

Vue.config.productionTip = false
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap/dist/js/bootstrap.js'

//引入VueRouter
import VueRouter from 'vue-router'
Vue.use(VueRouter)
//引入路由器
import router from './router'

/* 导入element ui */
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

new Vue({
	render: h => h(App),
	router: router,
}).$mount('#app')